package com.scuec.tourismwebsite.mapper;

import com.scuec.tourismwebsite.entity.City;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CityMapper {

    @Select("SELECT * FROM city")  // 假设你的城市表名是 "city"
    List<City> findAll();
}
